#ifndef PLAYER_H_
#define PLAYER_H_

#include "cards\include\Hand.h"
//#include "game\include\Game.h"

namespace player
{


class Player
{
public:
	Player();

	void make_turn(const core::Card& c);

	inline core::Hand hand() const { return mHand; }
	inline bool layout() const { return mLayOut; }
	inline void set_layout() { mLayOut = true; }
	inline void add_cash(int value) { mCash += value; }
	inline int cash() const { return mCash; }

	void finish_hand();

protected:
	core::Hand mHand;
	bool mLayOut;

	int mCash;
};

} // namespace player

#endif // PLAYER_H_